.class Lcom/instagram/android/service/p;
.super Ljava/lang/Object;
.source "PendingMediaServiceHelper.java"

# interfaces
.implements Landroid/content/ServiceConnection;


# instance fields
.field final synthetic a:Lcom/instagram/android/service/o;


# direct methods
.method constructor <init>(Lcom/instagram/android/service/o;)V
    .locals 0
    .parameter

    .prologue
    .line 47
    iput-object p1, p0, Lcom/instagram/android/service/p;->a:Lcom/instagram/android/service/o;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
    .locals 2
    .parameter "name"
    .parameter "service"

    .prologue
    .line 51
    check-cast p2, Lcom/instagram/android/service/n;

    .line 52
    .end local p2
    iget-object v0, p0, Lcom/instagram/android/service/p;->a:Lcom/instagram/android/service/o;

    invoke-virtual {p2}, Lcom/instagram/android/service/n;->a()Lcom/instagram/android/service/PendingMediaService;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/android/service/o;->a(Lcom/instagram/android/service/o;Lcom/instagram/android/service/PendingMediaService;)Lcom/instagram/android/service/PendingMediaService;

    .line 53
    iget-object v0, p0, Lcom/instagram/android/service/p;->a:Lcom/instagram/android/service/o;

    invoke-static {v0}, Lcom/instagram/android/service/o;->a(Lcom/instagram/android/service/o;)Ljava/util/concurrent/CountDownLatch;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/concurrent/CountDownLatch;->countDown()V

    .line 54
    return-void
.end method

.method public onServiceDisconnected(Landroid/content/ComponentName;)V
    .locals 2
    .parameter "name"

    .prologue
    .line 58
    iget-object v0, p0, Lcom/instagram/android/service/p;->a:Lcom/instagram/android/service/o;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/instagram/android/service/o;->a(Lcom/instagram/android/service/o;Lcom/instagram/android/service/PendingMediaService;)Lcom/instagram/android/service/PendingMediaService;

    .line 59
    return-void
.end method
